import { createRouter, createWebHistory } from 'vue-router'
import DataSyncWizard from '@/views/mappings/DataSyncWizard.vue'
import TaskList from '@/views/task/TaskList.vue'
import TemplateList from '@/views/template/TemplateList.vue'
import MonitorDashboard from '@/views/monitor/MonitorDashboard.vue'

const routes = [
  {
    path: '/',
    redirect: '/sync'
  },
  {
    path: '/sync',
    name: 'DataSync',
    component: DataSyncWizard
  },
  {
    path: '/tasks',
    name: 'TaskList',
    component: TaskList
  },
  {
    path: '/template',
    name: 'TemplateList',
    component: TemplateList
  },
  {
    path: '/monitor',
    name: 'MonitorDashboard',
    component: MonitorDashboard
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router 